/**
 * @description: 文件描述
 * @version: 0.0.1
 * @author: xxx
 * @Date: 2025-01-07 16:47:18
 */
let { trackMoreFun, globalData } = getApp();
Component({
  data: {
    title: '选择启发你的作品',
    column1: [
      {
        sku: 'P122010',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0037_RGB%204.png',
        imgfront: '1678820703573-pa20221320032rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20288-2.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122010_img_text.png',
        related: ['P122490', 'P122110'],
        rank: 5,
        score: 0,
        lineNum: 2,
        description:
          '将栀子花的馥郁芬芳，蕴于花型相似、但并无香气的山茶花。嘉柏丽尔·香奈儿想以一款香水向她的象征之花致意。为此，调香师恩尼斯·鲍从栀子花汲取灵感，以茉莉、依兰依兰和晚香玉的浓郁香气，描绘出一捧清新且丰润的花束，于肌肤之上，满溢馨香。 ',
        sku_id: '122210',
        relatedSku: ['122560', '122310'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122010__.png',
        itemId: '874940653121',
        skuId: '5710335200248',
        goodsName: '香奈儿珍藏香水 (栀子花香)',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122010__.png'
      },
      {
        sku: 'P122180',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0033_RGB%205.png',
        imgfront: '1678820703698-pa20221320035rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-1.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122180_img_text.png',
        related: ['P122100', 'P122040'],
        rank: 7,
        score: 0,
        lineNum: 1,
        description:
          '嘉柏丽尔·香奈儿内心的骄傲，是自由的必要前提。她是狮子座，但她选择不被自己的星座所定义，而是让狮子成为她的个性化身。对于调香师奥利维耶·波巨而言，这种象征意义令他联想到另一种力量之源：琥珀调香水。为平衡其强烈的本性，他以融合了劳丹脂和广藿香的琥珀皮革香调为基调，加之以香草、佛手柑和柠檬的明亮烘托，创作出这款高贵的狮子香水。',
        sku_id: '122380',
        relatedSku: ['122300', '122240'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122180__.png',
        itemId: '875224912646',
        skuId: '5879370979287',
        goodsName: '香奈儿狮子香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122180.png',
      },
    ],
    column2: [
      {
        sku: 'P122140',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0036_RGB%204.png',
        imgfront: '1678820709473-pa20221320036rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-10.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122140_img_text.png',
        related: ['P122490', 'P122090'],
        rank: 15,
        score: 0,
        lineNum: 1,
        description:
          '作为众多诗人的灵感缪斯，米西亚·塞特精通俄罗斯芭蕾舞剧台前与幕后化妆间的精妙，她不吝与嘉柏丽尔·香奈儿分享其中奥秘，并将一生都倾注于艺术与香粉世界。米西亚香水以现代风格演绎香粉与唇膏的气息，以土耳其玫瑰香精及五月玫瑰精油为基调，烘托紫罗兰的优雅芬芳。',
        sku_id: '122340',
        relatedSku: ['122560', '122290'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122140__.png',
        itemId: '875223208427',
        skuId: '5877840842866',
        goodsName: '香奈儿米西亚香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122140.png',
      },
      {
        sku: 'P122100',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0040_RGB%204.png',
        imgfront: '1678820709438-pa20221320039rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20288-3.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122100_img_text.png',
        related: ['P122160', 'P122130'],
        rank: 4,
        score: 0,
        lineNum: 1,
        description:
          '一棵典故中深入大地的巨树,令人联想起嘉柏丽尔·香奈儿的根源——在火山群绕的奥弗涅度过的童年。巨树高耸入云的优雅景象，激发了梧桐影木香水的创作。充满活力的海地香根草，在雪松和香草的衬托下，散发出感性的淡淡辛辣气息。',
        sku_id: '122300',
        relatedSku: ['122360', '122330'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122100__.png',
        itemId: '874557154726',
        skuId: '5879378903598',
        goodsName: '香奈儿梧桐影木香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122100.png',
      },
      {
        sku: 'P122060',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0035_RGB%205.png',
        imgfront: '1678820709474-pa20221320037rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-9.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122060_img_text.png',
        related: ['P122130', 'P122140'],
        rank: 19,
        score: 0,
        lineNum: 1,
        description:
          '一切源于一位设计师的执着。她挑战重力法则，令珠宝作品更契合身体的律动。芳登广场18号，将香奈儿臻品珠宝的华美全然呈现。十八号香水的香调，如同萦绕在肌肤上的珠宝般熠熠生辉。稀有黄葵子的丰富芬芳，令人联想到梨味利口酒的醇香，交织白麝香气，呈现如钻石般纯粹、抽象的嗅觉气质。',
        sku_id: '122260',
        relatedSku: ['122330', '122340'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122060__.png',
        itemId: '874300483003',
        skuId: '5877666658292',
        goodsName: '香奈儿十八号香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122060.png',
      }
    ],
    column3: [{
      sku: 'P122070',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0039_RGB%204.png',
      imgfront: '1678820703707-pa20221320034rgbminjpg_800x600',
      previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-12.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122070_img_text.png',
      related: ['P122080', 'P101560'],
      rank: 13,
      score: 0,
      lineNum: 1,
      description:
        '嘉柏丽尔·香奈儿在法国南部建造了别致而简约的度假别墅，对聚集于此的艺术家与自由之魂影响深远。法式别墅香水，邀你沐浴同一片灿烂阳光，感受奢华而不失简约的魅力。应品牌要求从意大利移植到格拉斯的珍贵香根鸢尾，在香根草和粉红胡椒的映衬下，淋漓展现精致淡雅的粉香调。',
      sku_id: '122270',
      relatedSku: ['122280', '101565'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122070__.png',
      itemId: '874514806073',
      skuId: '5879270695838',
      goodsName: '香奈儿法式别墅香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122070.png',
    }, {
      sku: 'P122120',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0029_RGB%204.png',
      imgfront: '1678820703571-pa20221320033rgbminjpg_800x600',
      previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-14.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122120_img_text.png',
      related: ['P122150', 'P122160'],
      rank: 14,
      score: 0,
      lineNum: 1,
      description:
        '在上世纪20年代初，嘉柏丽尔·香奈儿遵从内心对舒适与随性的向往，将男士服装中的jersey针织面料用于女装设计，彰显焕然一新的女性气质。自由旅程香水，焕新诠释了男士"sent-bon"香水中的薰衣草香调，在香草和白麝香的烘托下，释放精致的花香气息。',
      sku_id: '122320',
      relatedSku: ['122150', '122360'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122120__.png',
      itemId: '875233200532',
      skuId: '5879383355057',
      goodsName: '香奈儿自由旅程香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122120.png',
    }, {
      sku: 'P122030',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0031_RGB%204.png',
      imgfront: '1678820696487-pa20221320026rgbminjpg_800x600',
      previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-8.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122030_img_text.png',
      related: ['P122100', 'P122180'],
      rank: 12,
      score: 0,
      lineNum: 1,
      description:
        '咆哮的二十年代，激荡与狂热在空前的社会、文化和艺术活动中涌动。嘉柏丽尔·香奈儿想以一款香水作品，捕捉弥漫于空气中的狂热。应她的要求，调香师恩尼斯·鲍将在巴黎突然兴起的异国情调转化为一缕感性、迷人的气息。岛屿森林香水，交织依兰依兰的醉人花香与檀香木的饱满醇厚，流连于肌肤之上。',
      sku_id: '122230',
      relatedSku: ['122300', '122380'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122030__.png',
      itemId: '874336611935',
      skuId: '5710237656287',
      goodsName: '香奈儿岛屿森林香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122030.png'
    },],
    column4: [
      {
        sku: 'P122040',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0028_RGB%204.png',
        imgfront: '1678820696483-pa20221320030rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-13.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122040_img_text.png',
        related: ['P122100', 'P122180'],
        rank: 18,
        score: 0,
        lineNum: 1,
        description:
          '1920年，嘉柏丽尔·香奈儿在被流放到巴黎的俄罗斯大公狄米崔的引荐下，结识了调香师恩尼斯·鲍，点燃了新的创作热情。此次相遇，成就了俄罗斯皮革香水的诞生。这款华丽麝香调香水的神秘气息，源自俄罗斯士兵用于为靴子染色的白桦树皮。茉莉、依兰依兰、劳丹脂，交织一缕金色烟草和皮革气息，诠释了一场巴黎精神与拜占庭灵魂的碰撞。',
        sku_id: '122240',
        relatedSku: ['122300', '122380'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122040__.png',
        itemId: '874828985203',
        skuId: '5879120879023',
        goodsName: '香奈儿俄罗斯皮革香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122040__.png'
      },
      {
        sku: 'P122490',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2023_08_0011_RGB%204.png',
        imgfront: '1678820696360-pa20221320028rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122490_img_text_.png',
        related: ['P122010', 'P122110'],
        rank: 1,
        score: 0,
        lineNum: 1,
        description:
          '乐观主义仿若一颗幸运星，指引着香奈儿女士的创作。香奈儿彗星香水的灵感源自她于1932年创作的“Bijoux de Diamants”钻石珠宝系列。一款感性的香水，满溢樱花的清香，交织香水草和鸢尾的粉香气息。',
        sku_id: '122560',
        relatedSku: ['122210', '122310'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122490___.png',
        itemId: '874038202607',
        skuId: '5711217097492',
        goodsName: '香奈儿彗星香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122490.png',
      }, {
        sku: 'P122090',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0027_RGB%204.png',
        imgfront: '1678820696236-pa20221320029rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20288-1.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122090_img_text.png',
        related: ['P122030', 'P122180'],
        rank: 3,
        score: 0,
        lineNum: 1,
        description:
          '装点于香奈儿女士寓所墙壁的乌木漆面屏风，描绘出一个神秘、华丽的世界，令人浮想联翩。灵感源自梦幻的异国情调，东方屏风香水融合了丰润的琥珀、神圣的乳香、老挝安息香树脂散发的香草甜味以及深沉优雅的广藿香。',
        sku_id: '122290',
        relatedSku: ['122230', '122380'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122090__.png',
        itemId: '875193100540',
        skuId: '5710215488123',
        goodsName: '香奈儿东方屏风香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122090.png',
      },
    ],
    column5: [{
      sku: 'P122080',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0038_RGB%204.png',
      imgfront: '1678820691291-pa20221320025rgbminjpg_800x600',
      previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-11.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122080_img_text.png',
      related: ['P122100', 'P101560'],
      rank: 17,
      score: 0,
      lineNum: 1,
      description:
        '1920年，香奈儿女士在法国加尔什购置了一座宅邸，将内心远离尘嚣的渴望变成现实。在这里，她尽情享受着巴黎所或缺的新鲜空气。以田园诗意的景致为灵感，绿色气息香水流露的盎然绿意，令人遐想春日里枝头的嫩叶。柔和的香氛气息，以专为品牌凝炼的白松香为主体调，洋溢迷迭香、罗勒和百里香的芬芳。',
      sku_id: '122280',
      relatedSku: ['122300', '101565'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122080__.png',
      itemId: '874892405489',
      skuId: '5712263585801',
      goodsName: '香奈儿绿色气息香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122080.png',
    }, {
      sku: 'P122110',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0030_RGB%204.png',
      imgfront: '1678820691548-pa20221320024rgbminjpg_800x600',
      imgfront: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-4.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122110_img_text.png',
      related: ['P122490', 'P122010'],
      rank: 6,
      score: 0,
      lineNum: 1,
      description:
        '当自然成为一种风格，便呈现出它的精妙之处。米色柔和优雅，在香奈儿的颜色中，独树一帜。米色时尚香水，明亮且丰润，犹如白色花瓣与金色光芒萦绕肌肤，散发蜂蜜般的甜美气息，融合了茉莉、小苍兰、素馨花与散发着杏仁般香气的山楂花香调。',
      sku_id: '122310',
      relatedSku: ['122560', '122210'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122110__.png',
      itemId: '874564510069',
      skuId: '5710329004638',
      goodsName: '香奈儿米色时尚香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122110.png',
    },

    {
      sku: 'P122020',
      img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0041_RGB%204.png',
      imgfront: '1678820709462-pa20221320038rgbminjpg_800x600',
      previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-2.png',
      previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122020_img_text.png',
      related: ['P122490', 'P122130'],
      rank: 8,
      score: 0,
      lineNum: 1,
      description:
        '二十二号香水独有的精神特质，是香奈儿第一代专属调香师恩尼斯·鲍的天赋之举。1922年，他与香奈儿女士共同创作出一捧以醛香点缀的白色花束。乙醛，因一年前5号香水的诞生而被载入史册，它赋予花香调活力与现代气息，令其魅力跨越时代，独树一帜。',
      sku_id: '122220',
      relatedSku: ['122560', '122330'],
      isCkeket: false,
      recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122020__.png',
      itemId: '874451094737',
      skuId: '5710039832997',
      goodsName: '香奈儿二十二号香水',
      recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122020.png',
    },

    ],
    column6: [
      {
        sku: 'P122150',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0032_RGB%204.png',
        imgfront: '1678820696295-pa20221320027rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-5.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122150_img_text.png',
        related: ['P122120', 'P122020'],
        rank: 11,
        score: 0,
        lineNum: 1,
        description:
          'BOY这三个英文字母，象征着独立，也代表着影响嘉柏丽尔·香奈儿一生的关键人物：卡柏男孩。作为香奈儿女士的一生挚爱，他释放了她内心对于事业的渴望与追求，并以自身的优雅气质，为她的设计带来深远影响。亚瑟卡柏香水，展现了格拉斯玫瑰天竺葵的芬芳、温润檀香木以及天芥菜与香草气息的平衡交融，如同爱人为彼此留下的深刻印记。',
        sku_id: '122150',
        relatedSku: ['122320', '122220'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122150__.png',
        itemId: '875244276126',
        skuId: '5879408143016',
        goodsName: '香奈儿亚瑟卡柏香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122150.png',
      },
      {
        sku: 'P122050',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0043_RGB%204.png',
        imgfront: '1678820691219-pa20221320021rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-6.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122050_img_text.png',
        related: ['P122090', 'P122030'],
        rank: 16,
        score: 0,
        lineNum: 2,
        description:
          '创作激情的心脏，永存于康朋街31号。这里是香奈儿品牌的核心所在：精品店的生动朝气、高级定制服务工坊的简约风格、镜梯，以及香奈儿女士的私人寓所……康朋街31号香水，凝聚了华美且克制的风格。舒展于肌肤之上的柑苔调香气，在马达加斯加鸢尾和黑胡椒的映衬下，释放海地广藿香和香根草的气息。',
        sku_id: '122250',
        relatedSku: ['122290', '122230'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122050__.png',
        itemId: '874295891946',
        skuId: '5710111012429',
        goodsName: '香奈儿康朋街三十一号香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122050__.png',
      },
      {
        sku: 'P122160',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0034_RGB%204.png',
        imgfront: '1678820691369-pa20221320023rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20288.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122160_img_text_.png',
        related: ['P122490', 'P122180'],
        rank: 2,
        score: 0,
        lineNum: 1,
        description:
          '1957年，嘉柏丽尔·香奈儿在美国荣获尼曼·马库斯奖，被评为“20世纪最具影响力的设计师”。香奈儿女士与美国的联结，被留存于一九五七香水的独特气息中，浓郁的白麝香轻柔绵延，在每个人身上流露不同气质。',
        sku_id: '122360',
        relatedSku: ['122560', '122380'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122160__.png',
        itemId: '875242052042',
        skuId: '5712392797212',
        goodsName: '香奈儿一九五七香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122160.png',
      },
    ],
    column7: [
      {
        sku: 'P101560',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0042_RGB%204.png',
        imgfront: '1678820703572-pa20221320031rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-7.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P101560_img_text.png',
        related: ['P122160', 'P122110'],
        rank: 10,
        score: 0,
        lineNum: 2,
        description:
          '嘉柏丽尔·香奈儿将自由随性的气质，融入她专为户外活动设计的服饰，在当时僵化的社会氛围中脱颖而出。2007年，香奈儿第三代专属调香师贾克·波巨秉承这一理念，创作香奈儿清新古龙水，以柑橘、佛手柑与橙花，诠释精致与清新、优雅与简约的融汇交织，一如轻盈欢快的夏日午后。',
        sku_id: '101565',
        relatedSku: ['122360', '122310'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P101560__.png',
        itemId: '874375675549',
        skuId: '5879387935118',
        goodsName: '香奈儿清新古龙水 (瓶装)',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P101560__.png',
      },
      {
        sku: 'P122130',
        img: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0026_RGB%204.png',
        imgfront: '1678820691426-pa20221320022rgbminjpg_800x600',
        previewImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/Frame%20287-3.png',
        previewImgTextUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/previewImgUrl__/P122130_img_text.png',
        related: ['P122100', 'P122070'],
        rank: 9,
        score: 0,
        lineNum: 1,
        description:
          '嘉柏丽尔·香奈儿对占星术的痴迷，在其设计的首个臻品珠宝系列“Bijoux de Diamants”中得以施展，该系列以宇宙天体为灵感，于1932年创作。一如珠宝作品对于耀眼群星的呈现，一九三二香水，以明快的茉莉香气为主体调，烘托以梨、葡萄柚、高贵的海地香根草和一抹精致的鸢尾气息。',
        sku_id: '122330',
        relatedSku: ['122300', '122270'],
        isCkeket: false,
        recommendGoodsImgUrl: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/P122130__.png',
        itemId: '874821192180',
        skuId: '5709408060374',
        goodsName: '香奈儿一九三二香水',
        recommendGoodsImgUrl2: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/newPreviewImgUrl/__P122130.png',
      },
    ],
    x: 0,
    y: 0,
    damping: 10,
    url: 'https://morefun-active.oss-cn-beijing.aliyuncs.com/chanel_c2b_web/xing/longpage/page-checkImg/PA2022_08_0037_RGB%204.png',
    isChecLength: 0,
    goodsNames: '',
    disabledAnimation: true,
    disabledClick: true,

  },
  didMount() {
    globalData.pageNum = 1
    trackMoreFun('预览_发现你的嗅觉个性-选择作品页面','into' )
    // 页面加载
    const { column1, column2, column3, column4, column5, column6, column7, x, y, isChecLength } = globalData.imgData
    if (column1 || column2 || column3 || column4 || column5 || column6 || column7) {
      this.setData({
        column1,
        column2,
        column3,
        column4,
        column5,
        column6,
        column7
      })
      this.setData({
        disabledAnimation: false,
        disabledClick: false
      });
      // 问题： 回显时设置了同样的x y 但是 x轴会少100rpx
      if (!globalData.imgData.isSet_x_y) {
        this.setData({
          x, y, isChecLength
        })
      } else {
        const { x: moveX, y: moveY } = this.setPosition(-1448, -400)
        this.setData({
          x: moveX, y: moveY, isChecLength
        })
      }
    } else {
      try {
        const { x, y } = this.setPosition(-424, -404)
        this.setData({
          x: x,
          y: y
        });
        // const { x: moveX, y: moveY } = this.setPosition(-1448, -380)
        const { x: moveX, y: moveY } = this.setPosition(-1548, -400)
        setTimeout(() => {
          this.setData({
            x: moveX,
            y: moveY,
          });
          globalData.imgData.x = moveX
          globalData.imgData.y = moveY
          setTimeout(() => {
            this.setData({
              disabledAnimation: false,
              disabledClick: false
            });
          }, 1000);
        }, 1000);
      } catch (error) {
        console.log('error动画', error)
      }

    }
  },
  methods: {
    onChangeEnd(e) {
      const { x, y } = e.detail;
      this.setData({
        x, y,
      })
      globalData.imgData.x = this.data.x
      globalData.imgData.y = this.data.y
      globalData.imgData.isSet_x_y = false

    },
    onChangStar(e) {
      const { x, y } = e.detail;
      this.setData({
        x, y
      })
    },
    onItemClick(e) {
      if (this.data.disabledClick) return
      const { column, index } = e.currentTarget.dataset;
      const item = this.data[column][index];
      let skuId = item.skuId || ''
      trackMoreFun(`点击_发现你的嗅觉个性_选择作品_${item.goodsName}`, 'click',)
      // 如果当前未选中且已选数量>=3，阻止选择
      if (!item.isCkeket) {
        const selectedCount = Object.values(this.data)
          .flat()
          .filter(item => item.isCkeket)
          .length;

        if (selectedCount >= 3) {
          return
        }
      }

      // 切换选中状态
      const itemPath = `${column}[${index}].isCkeket`;
      this.setData({
        [itemPath]: !item.isCkeket,
      });

      // 更新已选数量
      const updatedSelectedCount = Object.values(this.data)
        .flat()
        .filter(item => item.isCkeket)
        .length;
      this.setData({
        isChecLength: updatedSelectedCount
      });

      // 保存已选列表
      let selectList = Object.values(this.data)
        .flat()
        .filter(item => item.isCkeket);
      selectList = selectList.map(item => item.sku)
      // 保存到globalData
      globalData.imgData.column1 = this.data.column1;
      globalData.imgData.column2 = this.data.column2;
      globalData.imgData.column3 = this.data.column3;
      globalData.imgData.column4 = this.data.column4;
      globalData.imgData.column5 = this.data.column5;
      globalData.imgData.column6 = this.data.column6;
      globalData.imgData.column7 = this.data.column7;
      globalData.imgData.isChecLength = updatedSelectedCount

      my.setStorage({
        key: 'selectArr',
        data: [selectList]
      });
      const xclskus = [...this.data.column1, ...this.data.column2, ...this.data.column3, ...this.data.column4, ...this.data.column5, ...this.data.column6, ...this.data.column7]
      const goodsNames = []
      xclskus.forEach(item => {
        if (item.isCkeket) {
          goodsNames.push(item.goodsName)
        }
      })
      this.setData({
        goodsNames: String(goodsNames)
      })
      my.setStorage({
        key: 'xclskusArr',
        data: xclskus
      })
    },

    changeNextTo() {
      if (this.data.isChecLength < 3) return
      trackMoreFun(`点击_发现你的嗅觉个性_选择作品页面_点击下一步_${this.data.goodsNames}`, 'click')
      this.props.onMyEvent({ num: 2 });
    },
    // rpx=>px
    setPosition(x, y) {
      const systemInfo = my.getSystemInfoSync();
      // 判断设备类型
      if (systemInfo.platform === 'iOS') {
        const screenWidth = systemInfo.screenWidth
        return { x: (x * screenWidth) / 750, y: (y * screenWidth) / 750 }
      } else if (systemInfo.platform === 'Android') {
        const screenWidth = systemInfo.screenWidth; // 屏幕宽度（px）
        const pixelRatio = systemInfo.pixelRatio; // 设备像素比
        // 考虑像素比的影响
        const actualX = (x * screenWidth) / 750 / pixelRatio;
        const actualY = (y * screenWidth) / 750 / pixelRatio;
        return { x: actualX, y: actualY };
      } else {
        const screenWidth = systemInfo.screenWidth; // 屏幕宽度（px）
        const pixelRatio = systemInfo.pixelRatio; // 设备像素比
        // 考虑像素比的影响
        const actualX = (x * screenWidth) / 750 / pixelRatio;
        const actualY = (y * screenWidth) / 750 / pixelRatio;
        return { x: actualX, y: actualY };
      }
    },
  }
})
